package com.qf.day07.tuxing;

public class Tuxing {
    private String name;
    public double zc(){
        System.out.println("计算图形的周长");
        return -1;
    }
    public void area(){
        System.out.println("计算图形面积");
    }
    public Tuxing(){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Tuxing(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Tuxing{" +
                "name='" + name + '\'' +
                '}';
    }
}
